dy_mymath=libmymath.so

$(dy_mymath):mymath.o
	gcc -shared -o $@ $^
mymath.o:mymath.c
	gcc -fPIC -c  $^
.PHONY:clean
clean:
	rm -rf *.o *.so
